//
//  LatestTrendstCell.swift
//  InternshipGo
//
//  Created by zhujinhui on 15/12/29.
//  Copyright © 2015年 kyson. All rights reserved.
//

import UIKit

class LatestTrendstCell: CPTableViewCell {

    @IBOutlet weak var outlineLabel: UILabel!
    @IBOutlet weak var outlineImageView: UIImageView!
    
    var doneTextDidClickedBlock:((String?)->Void)?
    var imageDidClickedBlock:((String?)->Void)?

    override func awakeFromNib() {
        super.awakeFromNib()
        outlineLabel.userInteractionEnabled = true
        outlineImageView.userInteractionEnabled = true
    }
    
    @IBAction func outlineLabelTapped(){
        if((self.doneTextDidClickedBlock) != nil){
            self.doneTextDidClickedBlock!("1111")
        }

    }
    
    @IBAction func imageTapped(){
        if((self.imageDidClickedBlock) != nil){
            self.imageDidClickedBlock!("1111")
        }
        
    }
    

    override func setSelected(selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
    }
    
    
    
    
}
